package com.sl.mes.db.service.bd;

import com.sl.mes.db.dao.BdMeasdocMapper;
import com.sl.mes.db.itf.bd.IBdMeasdoc;
import com.sl.mes.db.vo.BdMeasdoc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class BdMeasdocService implements IBdMeasdoc {
    @Resource
    private BdMeasdocMapper bdMeasdocMapper;

    /**
     * 根据主键查询计量单位
     * @param pk_measdoc
     * @return
     */
    @Override
    public BdMeasdoc findById(String pk_measdoc) {
        return bdMeasdocMapper.selectByPrimaryKey(pk_measdoc);
    }
}
